

.widget-label {
  position: absolute;
  top: -2px;
  left: 0;
  height: 24px;
  z-index: 99;
  line-height: 22px;
  padding: 0 4px;
  background: $--color-primary;
  &.opacity {
    background: rgba(64, 158, 255, 0.6);
  }
  i {
    font-size: 14px;
    font-style: normal;
    color: #fff;
    margin: 0 2px;
    cursor: move;
    &:first-child {
      margin-left: 0;
    }
    &:last-child {
      margin-right: 0;
    }
  }
  i.rk-icon {
    margin-left: 0.1em;
    margin-right: 0.1em;
  }
}
.widget-action {
  position: absolute;
  //bottom: -30px;
  bottom: 0;
  right: 2px;
  height: 25px;
  line-height: 25px;
  background: $--color-primary;
  z-index: 99;
  padding: 0 6px;
  i {
    font-size: 14px;
    color: #fff;
    margin-right: 6px;
    cursor: pointer;
    &:last-child {
      margin-right: 0;
    }
  }
  i.rk-icon {
    margin-left: 0.1em;
    margin-right: 0.1em;
  }
}

